package com.ai.tikai.config;

import org.springframework.ai.chat.client.ChatClient;
import org.springframework.stereotype.Component;

@Component
public class GetChatClient {
    private final ChatClient chatClient;


    public GetChatClient(ChatClient.Builder chatClientBuilder) {
        this.chatClient =  chatClientBuilder.build();;
    }
    public ChatClient getChatClient() {
        return chatClient;
    }
}
